package com.example.petstore.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@TableName("admincode")
public class AdminCode {
    private String code;
    @TableField(value = "createtime", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime createTime;
    @TableField("phonenumber")
    private String phoneNumber;
    private String type;
    //    login为登录时的验证码，register为注册时的验证码
}